package com.glink.manage.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
* @author  qiushaoshan
* @since 2025-03-04
*/
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="PersonSyncRecordBean对象", description="人员同步记录")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "person_sync_record", resultMap = "BaseResultMap")
public class PersonSyncRecordBean extends Model<PersonSyncRecordBean> {

    private static final long serialVersionUID = 693785256447867389L;
    
    @ApiModelProperty(value = "主键ID")
    @TableId(value = "obj_id")
    private String objId;
    
    @ApiModelProperty(value = "设备号")
    private String devSno;

    @ApiModelProperty(value = "用户ID")
    private Integer id;

    @ApiModelProperty(value = "同步状态")
    private String syncStatus;

    @ApiModelProperty(value = "失败信息")
    private String failedMsg;

    @ApiModelProperty(value = "同步时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}
